<script setup lang="ts">
import { ref, defineEmits, defineProps } from 'vue'
import { useTable } from '@/composeAPI/useTable.ts'

const { state: config, getTableData } = useTable()
const props = defineProps({
    data: {
        type: Array,
        default: () => []
    },
    columns: {
        type: Array,
        default: () => []
    },
})

</script>

<template>
    <el-table-v2 :columns="props.columns" :data="props.data" :width="700" :height="400" fixed />
</template>

<style scoped></style>